<?php

namespace App\Listeners\OpenShop;

use App\Enums\OpenShop\InvestmentPromotion\SiteMissionEnum;
use App\Enums\OpenShop\MissionTemplateEnum;
use App\Events\OpenShop\SystemNotifyCenterEvent;
use App\Listeners\BaseListener;
use App\Models\OpenShop\InvestmentPromotion\OpenShopMainProcessModel;
use App\Models\OpenShop\InvestmentPromotion\OpenShopSiteMissionModel;
use App\Service\OpenShop\Feishu\MissionTemplateService;
use App\Service\OpenShop\Feishu\SiteMissionService;
use App\Service\OpenShop\OrderService;
use App\Service\System\SystemNotifyService;
use Illuminate\Support\Facades\Log;

class SystemNotifySmsListener extends BaseListener
{
    /**
     * Create the event listener.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Handle the event.
     *
     * @param SystemNotifyCenterEvent $event
     * @return void
     */
    public function handle(SystemNotifyCenterEvent $event)
    {
        // 判断是否需要发极光推送
        $notifyModel = $event->notifyCenterModel;

//        SystemNotifyService::recordLog($notifyModel, '手机短信 未发送成功');

    }
}
